import java.io.IOException;


public class Cocoa {
	public static void main(String[]args) throws IOException {
		VCALENDAR cal = new VCALENDAR();
		VEVENT event = new VEVENT();
		event.setStart(event.setDate(2013,07,19,14,30,00));
		event.setEnd(event.setDate(2013,07,20,14,45,00));
		event.setUID("fastindkz@gmail.com");
		event.setCategory("Work");
		event.setDescription("lunch to discuss business");
		
		System.out.println(cal.format(event.format()));
		
		cal.write("test.ics", cal.format(event.format()));
		
		
	}
}
